package com.bigdata.schaduler.tasks;

import org.apache.dolphinscheduler.plugin.task.api.TaskChannel;
import org.apache.dolphinscheduler.plugin.task.api.TaskChannelFactory;
import org.apache.dolphinscheduler.spi.params.base.PluginParams;

import java.util.ArrayList;
import java.util.List;

public class UdtTaskChannelFactory implements TaskChannelFactory {
  @Override
  public TaskChannel create() {
    return new UdtTaskChannel();
  }

  // 自定义任务类型比如SHELL、SQL、FLINK
  @Override
  public String getName() {
    return "UDT";
  }

  @Override
  public List<PluginParams> getParams() {
    return new ArrayList<>();
  }
}
